<?php
/**
 * The Header for our theme.
 *
 * Displays all of the <head> section and everything up till <div id="main">
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */
?>
<!DOCTYPE html>
<html xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" <?php language_attributes(); ?>><head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<LINK REL="SHORTCUT ICON" HREF="<?php bloginfo('template_url'); ?>/images/favicon_campus.ico">
	<title>
		<?php wp_title('|', true, 'right'); ?>
	</title>
	<link rel="profile" href="http://gmpg.org/xfn/11" />
	<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_url'); ?>/style.css" />
    
	<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/print.css" type="text/css" media="print" />
        <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/jquery.fancybox.css" type="text/css"/>
        
	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />	
	<?php
		/* We add some JavaScript to pages with the comment form
		 * to support sites with threaded comments (when in use).
		 */
		if ( is_singular() && get_option( 'thread_comments' ) )
			wp_enqueue_script( 'comment-reply' );
	
		/* Always have wp_head() just before the closing </head>
		 * tag of your theme, or you will break many plugins, which
		 * generally use this hook to add elements to <head> such
		 * as styles, scripts, and meta tags.
		 */
		//wp_enqueue_script("jquery"); 
		wp_head();
		 /*
		 array of social network links
		 *///print_r ($bloginfo = get_bloginfo('template_url'));
	?>
	

        <!--
	<script type="text/javascript" src=<?php bloginfo('stylesheet_directory'); ?>/"js/cufon-yui.js"></script>
	<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/karabinE_400.font.js"></script>
	<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/Time_Roman_700.font.js"></script>
	<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/LHFStanfordScript_500.font.js"></script>
	<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/cufon-replace.js"></script>
	-->
	<!--[if lt IE 7]><script type="text/javascript" src="http://info.template-help.com/files/ie6_warning/ie6_script.js"></script><![endif]-->
 <!-- <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery-1.8.2.min.js"></script>
  -->
  <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery-1.7.2.min.js"></script>
   
  <!--
  <script src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery-1.3.2.js" type="text/javascript"></script>
        <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery-1.9.1.min.js"></script>
  -->
        <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/superfish.js"></script>
   
  <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery.fancybox.js"></script>
        
	<script type="text/javascript">
		$(document).ready(function() {
			$('.sf-menu ul').superfish({ 
				delay:       10,
				animation:   {opacity:'show',height:'show'},
				speed:       'fast',
				autoArrows:  false,
				dropShadows: false
			}); 
			
			$(".fancyFrame").fancybox({'frameWidth' : 700, 'frameHeight': 600, 'overlayShow': true, 'hideOnContentClick': false});
			}); 
		
		
	</script>	
	<?php if ( is_home() || is_front_page() ): ?>
		<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/loopedslider.0.5.4.js"></script>
		<script type="text/javascript" charset="utf-8">	
$(function(){
		$('#loopedSlider').loopedSlider({
			autoStart: 7000,
			restart: 7000
		});
	});
		</script>

	<?php endif; ?>
<meta http-equiv="X-UA-Compatible" content="IE=7" />

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-25667910-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>	

<!--this is the website on new server-->
</head>

<body <?php body_class(); ?>>
	
    
    <div id="header">
				<div id="header-inner" class="clearfix">
					<div id="logo">
						<?php if (get_theme_mod_tm('logo_image', '')) { ?>
							<a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
								<img src="<?php echo get_theme_mod_tm('logo_image', '') ?>" title="" alt="" />
							</a>
						<?php } else { ?>
							<a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img src="<?php bloginfo('template_url'); ?>/images/campus_logo.png" title="" alt="" /></a>
						<?php } ?>
					</div><!-- END #logo -->
					<div id="bg_search">
					<div id="search">
						<?php get_search_form(); ?>
					</div>
					</div>
				</div><!-- END #header-inner -->
			
			</div><!--END .header-->
    
	<div id="container">
		<div class="container-wrapper"><div class="bg-footer clearfix">
			
			
			
			
			
			<div id="primary-nav" class="sf-menu" role="navigation">
				<?php
                                wp_nav_menu_tm( array( 'container_id' => 'dropmenu' ) ); ?>
			</div><!-- END #primary-nav -->

			<div id="content" class="clearfix"><!--class="clearfix"-->
			
				<?php get_sidebar(); ?>
